<html>
<script>

    function getRE() {
        var re = /[a-z]/;
        re.foo = "bar";
        return re;
    }
    var reg = getRE();
    re2 = getRE();
    console.log(reg === re2);           // 在Firefox 3.6中返回true，在Firefox 4中返回false;
    reg.foo = "baz";
    console.log(re2.foo);    



</script>


<head>
    <title>放置文章标题</title>
</head>

<body>

</body>

</html>